projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1abf64f
)
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Do not use `chomp...
author
Tom Willemse
<tom@ryuslash.org>
Sun, 19 Apr 2015 01:07:16 +0000
(18:07 -0700)
committer
Glenn Morris
<rgm@gnu.org>
Sun, 19 Apr 2015 01:07:16 +0000
(18:07 -0700)
Fixes: debbugs:19505
Copyright-paperwork-exempt: yes
lisp/elec-pair.el
patch
|
blob
|
history
diff --git
a/lisp/elec-pair.el
b/lisp/elec-pair.el
index 562b29467c1f81ebab0e946d1c266184571cd4bb..db812c9e1213bf28ddcb7fc6a934dca8b8e2372b 100644
(file)
--- a/
lisp/elec-pair.el
+++ b/
lisp/elec-pair.el
@@
-475,7
+475,8
@@
happened."
(when (and (not (and unconditional
(eq syntax ?\")))
(setq skip-whitespace-info
- (if (functionp electric-pair-skip-whitespace)
+ (if (and (not (eq electric-pair-skip-whitespace 'chomp))
+ (functionp electric-pair-skip-whitespace))
(funcall electric-pair-skip-whitespace)
electric-pair-skip-whitespace)))
(electric-pair--skip-whitespace))